/// [BtApiException] describes the exception info when a request failed.
class BtApiException implements Exception {
  const BtApiException({required this.code, required this.message});

  /// The error ode that throws a [BtApiException].
  final String code;

  /// The error message that throws a [BtApiException].
  final String? message;
}
